package org.example.serve.impl;

import org.example.serve.BookServe;

public class BookServeImpl implements BookServe {

    private BookDao bookDao;
    public void save() {
        System.out.println("book service save ...");
        bookDao.save();
    }

    //为BookDao提供setter方法
    public void setBookDao(BookDao bookDao){
        this.bookDao = bookDao;
    }
}
